﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Text;
using System.Resources;

public partial class Resource_Default : System.Web.UI.Page
{
    protected void Page_Load(object sender, EventArgs e)
    {
        if (!IsPostBack)
        {
            ShowResource();
        }
    }

    private void ShowResource()
    {
        StringBuilder sb = new StringBuilder();
        sb.Append(string.Format(Resources.Resource.AdminName)); sb.Append("<br>");
        Resources.Resource.Culture = new System.Globalization.CultureInfo(2, true); sb.Append("<br>");
        sb.Append(string.Format(Resources.Resource.Culture.OptionalCalendars[0].ToString()));
        //sb.Append(string.Format(Resources.Resource.MyResource_en, "Tom", "Jerry")); sb.Append("<br>");
        lblOutput.Text = sb.ToString();
    }
}
